spring.application.name=captcha-service
server.port=8080

# \u6ED1\u52A8\u9A8C\u8BC1\uFF0C\u5E95\u56FE\u8DEF\u5F84\uFF0C\u4E0D\u914D\u7F6E\u5C06\u4F7F\u7528\u9ED8\u8BA4\u56FE\u7247
# \u652F\u6301\u5168\u8DEF\u5F84
# \u652F\u6301\u9879\u76EE\u8DEF\u5F84,\u4EE5classpath:\u5F00\u5934,\u53D6resource\u76EE\u5F55\u4E0B\u8DEF\u5F84,\u4F8B\uFF1Aclasspath:images/jigsaw
aj.captcha.jigsaw=classpath:images/jigsaw
# \u6ED1\u52A8\u9A8C\u8BC1\uFF0C\u5E95\u56FE\u8DEF\u5F84\uFF0C\u4E0D\u914D\u7F6E\u5C06\u4F7F\u7528\u9ED8\u8BA4\u56FE\u7247
# \u652F\u6301\u5168\u8DEF\u5F84
# \u652F\u6301\u9879\u76EE\u8DEF\u5F84,\u4EE5classpath:\u5F00\u5934,\u53D6resource\u76EE\u5F55\u4E0B\u8DEF\u5F84,\u4F8B\uFF1Aclasspath:images/pic-click
aj.captcha.pic-click=classpath:images/pic-click

# \u5BF9\u4E8E\u5206\u5E03\u5F0F\u90E8\u7F72\u7684\u5E94\u7528\uFF0C\u6211\u4EEC\u5EFA\u8BAE\u5E94\u7528\u81EA\u5DF1\u5B9E\u73B0CaptchaCacheService\uFF0C\u6BD4\u5982\u7528Redis\u6216\u8005memcache\uFF0C
# \u53C2\u8003CaptchaCacheServiceRedisImpl.java
# \u5982\u679C\u5E94\u7528\u662F\u5355\u70B9\u7684\uFF0C\u4E5F\u6CA1\u6709\u4F7F\u7528redis\uFF0C\u90A3\u9ED8\u8BA4\u4F7F\u7528\u5185\u5B58\u3002
# \u5185\u5B58\u7F13\u5B58\u53EA\u9002\u5408\u5355\u8282\u70B9\u90E8\u7F72\u7684\u5E94\u7528\uFF0C\u5426\u5219\u9A8C\u8BC1\u7801\u751F\u4EA7\u4E0E\u9A8C\u8BC1\u5728\u8282\u70B9\u4E4B\u95F4\u4FE1\u606F\u4E0D\u540C\u6B65\uFF0C\u5BFC\u81F4\u5931\u8D25\u3002
# \uFF01\uFF01\uFF01 \u6CE8\u610F\u5566\uFF0C\u5982\u679C\u5E94\u7528\u6709\u4F7F\u7528spring-boot-starter-data-redis\uFF0C
# \u8BF7\u6253\u5F00CaptchaCacheServiceRedisImpl.java\u6CE8\u91CA\u3002
# redis ----->  SPI\uFF1A \u5728resources\u76EE\u5F55\u65B0\u5EFAMETA-INF.services\u6587\u4EF6\u5939(\u4E24\u5C42)\uFF0C\u53C2\u8003\u5F53\u524D\u670D\u52A1resources\u3002
# \u7F13\u5B58local/redis...
aj.captcha.cache-type=local
# local\u7F13\u5B58\u7684\u9608\u503C,\u8FBE\u5230\u8FD9\u4E2A\u503C\uFF0C\u6E05\u9664\u7F13\u5B58
#aj.captcha.cache-number=1000
# local\u5B9A\u65F6\u6E05\u9664\u8FC7\u671F\u7F13\u5B58(\u5355\u4F4D\u79D2),\u8BBE\u7F6E\u4E3A0\u4EE3\u8868\u4E0D\u6267\u884C
#aj.captcha.timing-clear=180
#spring.redis.host=10.108.11.46
#spring.redis.port=6379
#spring.redis.password=
#spring.redis.database=2
#spring.redis.timeout=6000

# \u9A8C\u8BC1\u7801\u7C7B\u578Bdefault\u4E24\u79CD\u90FD\u5B9E\u4F8B\u5316\u3002
aj.captcha.type=default
# \u6C49\u5B57\u7EDF\u4E00\u4F7F\u7528Unicode,\u4FDD\u8BC1\u7A0B\u5E8F\u901A\u8FC7@value\u8BFB\u53D6\u5230\u662F\u4E2D\u6587\uFF0C\u53EF\u901A\u8FC7\u8FD9\u4E2A\u5728\u7EBF\u8F6C\u6362
# https://tool.chinaz.com/tools/unicode.aspx \u4E2D\u6587\u8F6CUnicode
# \u53F3\u4E0B\u89D2\u6C34\u5370\u6587\u5B57(\u6211\u7684\u6C34\u5370)
aj.captcha.water-mark=\u6211\u7684\u6C34\u5370
# \u53F3\u4E0B\u89D2\u6C34\u5370\u5B57\u4F53(\u4E0D\u914D\u7F6E\u65F6\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u6587\u6CC9\u9A7F\u6B63\u9ED1)
# \u7531\u4E8E\u5B8B\u4F53\u7B49\u6D89\u53CA\u5230\u7248\u6743\uFF0C\u6211\u4EECjar\u4E2D\u5185\u7F6E\u4E86\u5F00\u6E90\u5B57\u4F53\u3010\u6587\u6CC9\u9A7F\u6B63\u9ED1\u3011
# \u65B9\u5F0F\u4E00\uFF1A\u76F4\u63A5\u914D\u7F6EOS\u5C42\u7684\u73B0\u6709\u7684\u5B57\u4F53\u540D\u79F0\uFF0C\u6BD4\u5982\uFF1A\u5B8B\u4F53
# \u65B9\u5F0F\u4E8C\uFF1A\u81EA\u5B9A\u4E49\u7279\u5B9A\u5B57\u4F53\uFF0C\u8BF7\u5C06\u5B57\u4F53\u653E\u5230\u5DE5\u7A0Bresources\u4E0Bfonts\u6587\u4EF6\u5939\uFF0C\u652F\u6301ttf\ttc\otf\u5B57\u4F53
# aj.captcha.water-font=WenQuanZhengHei.ttf
# \u70B9\u9009\u6587\u5B57\u9A8C\u8BC1\u7801\u7684\u6587\u5B57\u5B57\u4F53(\u6587\u6CC9\u9A7F\u6B63\u9ED1)
# aj.captcha.font-type=WenQuanZhengHei.ttf
# \u6821\u9A8C\u6ED1\u52A8\u62FC\u56FE\u5141\u8BB8\u8BEF\u5DEE\u504F\u79FB\u91CF(\u9ED8\u8BA45\u50CF\u7D20)
aj.captcha.slip-offset=5
# aes\u52A0\u5BC6\u5750\u6807\u5F00\u542F\u6216\u8005\u7981\u7528(true|false)
aj.captcha.aes-status=true
# \u6ED1\u52A8\u5E72\u6270\u9879(0/1/2)
aj.captcha.interference-options=2

#\u70B9\u9009\u5B57\u4F53\u6837\u5F0F \u9ED8\u8BA4Font.BOLD
aj.captcha.font-style=1
#\u70B9\u9009\u5B57\u4F53\u5B57\u4F53\u5927\u5C0F
aj.captcha.font-size=25
#\u70B9\u9009\u6587\u5B57\u4E2A\u6570,\u5B58\u5728\u95EE\u9898\uFF0C\u6682\u4E0D\u652F\u6301\u4FEE\u6539
#aj.captcha.click-word-count=4


aj.captcha.history-data-clear-enable=false

# \u63A5\u53E3\u8BF7\u6C42\u6B21\u6570\u4E00\u5206\u949F\u9650\u5236\u662F\u5426\u5F00\u542F true|false
aj.captcha.req-frequency-limit-enable=false
# \u9A8C\u8BC1\u5931\u8D255\u6B21\uFF0Cget\u63A5\u53E3\u9501\u5B9A
aj.captcha.req-get-lock-limit=5
# \u9A8C\u8BC1\u5931\u8D25\u540E\uFF0C\u9501\u5B9A\u65F6\u95F4\u95F4\u9694,s
aj.captcha.req-get-lock-seconds=360
# get\u63A5\u53E3\u4E00\u5206\u949F\u5185\u8BF7\u6C42\u6570\u9650\u5236
aj.captcha.req-get-minute-limit=30
# check\u63A5\u53E3\u4E00\u5206\u949F\u5185\u8BF7\u6C42\u6570\u9650\u5236
aj.captcha.req-check-minute-limit=30
# verify\u63A5\u53E3\u4E00\u5206\u949F\u5185\u8BF7\u6C42\u6570\u9650\u5236(\u6682\u7528\u4E0D\u4E0A\uFF0C\u53EF\u540E\u53F0\u76F4\u63A5\u8C03\u7528captchaService)
#aj.captcha.req-verify-minute-limit=30
